package com.dhecp.project.storage.domain;

import com.dhecp.common.annotation.ForUpdate;
import com.dhecp.core.domain.BaseBusinessEntityKJ;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @program: kjecp
 * @description: 仓储 线下采购入库单
 * @author: hlf
 * @create: 2023-03-31 13:36
 */
public class OfflinePurchaseStorage extends BaseBusinessEntityKJ {

    private static final long serialVersionUID = 1L;

    private String planPGuid;	//采购计划主表Guid
    private String planGuid;	//采购计划子表Guid
    @ForUpdate(fieldName = "采购计划单号")
    private String planID;		//采购计划单号
    private String orderPGuid;	//采购订单主表Guid
    private String orderGuid;	//采购订单子表Guid
    @ForUpdate(fieldName = "采购订单单号")
    private String orderID;		//采购订单单号
    @ForUpdate(fieldName = "采购下单地址")
    private String orderAddress;//采购下单地址
    @ForUpdate(fieldName = "组装方案")
    private String assemblyPlan;//组装方案
    @ForUpdate(fieldName = "FNSKU")
    private String fNSKU;		//FNSKU
    @ForUpdate(fieldName = "商品编码")
    private String code;		//商品编码
    @ForUpdate(fieldName = "商品名称")
    private String name;		//商品名称
    @ForUpdate(fieldName = "母件编码")
    private String pCode;		//母件编码
    @ForUpdate(fieldName = "母件名称")
    private String pName;		//母件名称
    @ForUpdate(fieldName = "母件采购数量")
    private Integer pSum;		//母件采购数量
    @ForUpdate(fieldName = "物流单号")
    private String trackingNumber;//物流单号
    @ForUpdate(fieldName = "物流渠道")
    private String place;		//物流渠道
    @ForUpdate(fieldName = "子件编码")
    private String sCode;		//子件编码
    @ForUpdate(fieldName = "子件名称")
    private String sName;		//子件名称
    @ForUpdate(fieldName = "子件数量")
    private Integer sNum;		//子件数量
    @ForUpdate(fieldName = "子件单价")
    private Double sPrice;		//子件单价
    @ForUpdate(fieldName = "子件金额")
    private Double sSum;		//子件金额
    @ForUpdate(fieldName = "子件备注")
    private String sBz;			//子件备注
    @ForUpdate(fieldName = "采购数量")
    private Integer sum;		//采购数量
    @ForUpdate(fieldName = "入库状态")
    private String state;		//入库状态
    @ForUpdate(fieldName = "审核人工号")
    private String auditor;//审核人工号
    @ForUpdate(fieldName = "货位编码")
    private String goodsAllocation;//货位编码
    @ForUpdate(fieldName = "库区")
    private String goodsArea;//库区
    @ForUpdate(fieldName = "所在仓库")
    private String warehouseAddress;//所在仓库
    @ForUpdate(fieldName = "打印状态")
    private String isDyRk;//是否打印入库箱标(已打印/未打印)
    @ForUpdate(fieldName = "组装状态")
    private String vZzZt;//未组装/已组装/组装退回
//    @ForUpdate(fieldName = "数据来源")
    private Integer inqty;//到货数量
    private Integer ninqty;//未到货数量

    //    虚拟字段
    private String remark;//子件备注
    private String img1;//商品图片1
    private String img2;//商品图片2
    private String aliOrderNumber;//1688单号

    private String auditorName;//审核人名称
    private String auditorPost;//审核人岗位
    private String auditorDept;//审核人部门
    @JsonFormat(locale = "zh",timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date warehouseTime; //入库时间


    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public String getPlanPGuid() {
        return planPGuid;
    }

    public void setPlanPGuid(String planPGuid) {
        this.planPGuid = planPGuid;
    }

    public String getPlanGuid() {
        return planGuid;
    }

    public void setPlanGuid(String planGuid) {
        this.planGuid = planGuid;
    }

    public String getPlanID() {
        return planID;
    }

    public void setPlanID(String planID) {
        this.planID = planID;
    }

    public String getOrderPGuid() {
        return orderPGuid;
    }

    public void setOrderPGuid(String orderPGuid) {
        this.orderPGuid = orderPGuid;
    }

    public String getOrderGuid() {
        return orderGuid;
    }

    public void setOrderGuid(String orderGuid) {
        this.orderGuid = orderGuid;
    }

    public String getOrderID() {
        return orderID;
    }

    public void setOrderID(String orderID) {
        this.orderID = orderID;
    }

    public String getOrderAddress() {
        return orderAddress;
    }

    public void setOrderAddress(String orderAddress) {
        this.orderAddress = orderAddress;
    }

    public String getAssemblyPlan() {
        return assemblyPlan;
    }

    public void setAssemblyPlan(String assemblyPlan) {
        this.assemblyPlan = assemblyPlan;
    }

    public String getfNSKU() {
        return fNSKU;
    }

    public void setfNSKU(String fNSKU) {
        this.fNSKU = fNSKU;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public void setName(String name) {
        this.name = name;
    }

    public String getpCode() {
        return pCode;
    }

    public void setpCode(String pCode) {
        this.pCode = pCode;
    }

    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public Integer getpSum() {
        return pSum;
    }

    public void setpSum(Integer pSum) {
        this.pSum = pSum;
    }

    public String getTrackingNumber() {
        return trackingNumber;
    }

    public void setTrackingNumber(String trackingNumber) {
        this.trackingNumber = trackingNumber;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public String getsCode() {
        return sCode;
    }

    public void setsCode(String sCode) {
        this.sCode = sCode;
    }

    public String getsName() {
        return sName;
    }

    public void setsName(String sName) {
        this.sName = sName;
    }

    public Integer getsNum() {
        return sNum;
    }

    public void setsNum(Integer sNum) {
        this.sNum = sNum;
    }

    public Double getsPrice() {
        return sPrice;
    }

    public void setsPrice(Double sPrice) {
        this.sPrice = sPrice;
    }

    public Double getsSum() {
        return sSum;
    }

    public void setsSum(Double sSum) {
        this.sSum = sSum;
    }

    public String getsBz() {
        return sBz;
    }

    public void setsBz(String sBz) {
        this.sBz = sBz;
    }

    public Integer getSum() {
        return sum;
    }

    public void setSum(Integer sum) {
        this.sum = sum;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getAuditor() {
        return auditor;
    }

    public void setAuditor(String auditor) {
        this.auditor = auditor;
    }

    public String getGoodsAllocation() {
        return goodsAllocation;
    }

    public void setGoodsAllocation(String goodsAllocation) {
        this.goodsAllocation = goodsAllocation;
    }

    public String getGoodsArea() {
        return goodsArea;
    }

    public void setGoodsArea(String goodsArea) {
        this.goodsArea = goodsArea;
    }

    public String getWarehouseAddress() {
        return warehouseAddress;
    }

    public void setWarehouseAddress(String warehouseAddress) {
        this.warehouseAddress = warehouseAddress;
    }

    public String getIsDyRk() {
        return isDyRk;
    }

    public void setIsDyRk(String isDyRk) {
        this.isDyRk = isDyRk;
    }

    public String getvZzZt() {
        return vZzZt;
    }

    public void setvZzZt(String vZzZt) {
        this.vZzZt = vZzZt;
    }

    public Integer getInqty() {
        return inqty;
    }

    public void setInqty(Integer inqty) {
        this.inqty = inqty;
    }

    public Integer getNinqty() {
        return ninqty;
    }

    public void setNinqty(Integer ninqty) {
        this.ninqty = ninqty;
    }

    @Override
    public String getRemark() {
        return remark;
    }

    @Override
    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getImg1() {
        return img1;
    }

    public void setImg1(String img1) {
        this.img1 = img1;
    }

    public String getImg2() {
        return img2;
    }

    public void setImg2(String img2) {
        this.img2 = img2;
    }

    public String getAliOrderNumber() {
        return aliOrderNumber;
    }

    public void setAliOrderNumber(String aliOrderNumber) {
        this.aliOrderNumber = aliOrderNumber;
    }

    public String getAuditorName() {
        return auditorName;
    }

    public void setAuditorName(String auditorName) {
        this.auditorName = auditorName;
    }

    public String getAuditorPost() {
        return auditorPost;
    }

    public void setAuditorPost(String auditorPost) {
        this.auditorPost = auditorPost;
    }

    public String getAuditorDept() {
        return auditorDept;
    }

    public void setAuditorDept(String auditorDept) {
        this.auditorDept = auditorDept;
    }

    public Date getWarehouseTime() {
        return warehouseTime;
    }

    public void setWarehouseTime(Date warehouseTime) {
        this.warehouseTime = warehouseTime;
    }
}